package org.fly.service;

import org.fly.bean.ProductNorm;
import org.fly.bean.query.ProductNormQuery;
import org.fly.bean.common.BusinessException;
import java.util.List;

/**
* Created by autoCode on 2018-03-07 09:00:48.
*/
public interface ProductNormService {

    List<ProductNorm> list(ProductNormQuery query);

    long count(ProductNormQuery query);

    ProductNorm findById(String id);


    ProductNorm findByProductId(String productId);

    void save(ProductNorm bean)  throws BusinessException;

    void delete(String id);

}
